package com.zbb.order.model.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 订单标签关系表
 * </p>
 *
 * @author itcast
 */
@Data
@TableName("order_label_relation")
public class LabelRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 标签id
     */
    private Integer labelId;

    /**
     * 订单详情id
     */
    private String detailsId;

    /**
     * 发起订单id
     */
    private String initiateId;

    /**
     * 创建时间
     */

    private LocalDateTime creationTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    public LabelRelation(String id, Integer labelId, String detailsId, String initiateId, LocalDateTime creationTime, LocalDateTime updateTime) {
        this.id = id;
        this.labelId = labelId;
        this.detailsId = detailsId;
        this.initiateId = initiateId;
        this.creationTime = creationTime;
        this.updateTime = updateTime;
    }
}
